home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 May / PCWMAY06.iso / Software / Resources / Partition Logic 0.61 / partlogic-0.61.iso / system / headers / locale.h < prev    next >
C/C++ Source or Header  |  2006-01-31  |  2KB  |  57 lines

  1. // 
  2. //  Visopsys
  3. //  Copyright (C) 1998-2006 J. Andrew McLaughlin
  4. //  
  5. //  This library is free software; you can redistribute it and/or modify it
  6. //  under the terms of the GNU Lesser General Public License as published by
  7. //  the Free Software Foundation; either version 2.1 of the License, or (at
  8. //  your option) any later version.
  9. //
  10. //  This library is distributed in the hope that it will be useful, but
  11. //  WITHOUT ANY WARRANTY; without even the implied warranty of
  12. //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
  13. //  General Public License for more details.
  14. //
  15. //  You should have received a copy of the GNU Lesser General Public License
  16. //  along with this library; if not, write to the Free Software Foundation,
  17. //  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  18. //
  19. //  locale.h
  20. //
  21.  
  22. // This is the Visopsys version of the standard header file locale.h
  23.  
  24. #if !defined(_LOCALE_H)
  25.  
  26. struct lconv {
  27.     char *currency_symbol;
  28.     char *decimal_point;
  29.     char *grouping;
  30.     char *int_curr_symbol;
  31.     char *mon_decimal_point;
  32.     char *mon_grouping;
  33.     char *mon_thousands_sep;
  34.     char *negative_sign;
  35.     char *positive_sign;
  36.     char *thousands_sep;
  37.     char frac_digits;
  38.     char int_frac_digits;
  39.     char n_cs_precedes;
  40.     char n_sep_by_space;
  41.     char n_sign_posn;
  42.     char p_cs_precedes;
  43.     char p_sep_by_space;
  44.     char p_sign_posn;
  45. };
  46.  
  47. #define LC_COLLATE  0x01
  48. #define LC_CTYPE    0x02
  49. #define LC_MONETARY 0x04
  50. #define LC_NUMERIC  0x08
  51. #define LC_TIME     0x10
  52. #define LC_ALL      (LC_COLLATE & LC_CTYPE & LC_MONETARY & LC_NUMERIC & \
  53.                      LC_TIME)
  54.  
  55. #define _LOCALE_H
  56. #endif
  57.